package com.fun.mongodb;

/**
 * mongo数据库配置对象，针对单个数据服务，单个身份验证
 */
public class MongoObject {

    String host;

    int port;

    String user;

    String password;

    String database;

    public MongoObject(String host, int port, String user, String password, String database) {
        this.host = host;
        this.port = port;
        this.user = user;
        this.password = password;
        this.database = database;
    }

    public String getDatabase() {
        return database;
    }

}
